All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.movies.MultiMovieController

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.std.comp.ComponentIdentifier
                   |
                   +----quicktime.std.comp.Component
                           |
                           +----quicktime.std.movies.MovieController
                                   |
                                   +----quicktime.std.movies.MultiMovieController

public final class MultiMovieController
extends MovieController
implements QuickTimeLib
The MultiMovieController class allows for multiple movies to be associated with a single controller. It is the developer's responsibility to appropriately manage the resources consumed by multiple movies.


Constructor Index

 o MultiMovieController(int, Movie, QDGraphics, QDPoint)
This constructor creates a MovieController object for a given subType.
 o MultiMovieController(Movie)
This constructor locates a movie controller component for you and assigns a movie to that controller.
 o MultiMovieController(Movie, int)
This constructor locates a movie controller component for you and assigns a movie to that controller.

Method Index

 o addMovie(Movie, QDGraphics, QDPoint)
This method adds a movie to the movie controller.
 o getIndMovie(int)
This method allows you to get the movie at a specified index among the associated movies of a controller.
 o movieChanged(Movie)
This method lets you inform a movie controller component that your application has used the Movie Toolbox to change the characteristics of its associated movie.
 o removeAllMovies()
This method allows you to remove all of the associated movies of a controller.
 o removeAMovie(Movie)
This method allows you to remove the specified movie from the controller.
 o removeMovie()
This method allows you to remove the movie of the controller.
 o setMovie(Movie, QDGraphics, QDPoint)
This method adds a movie to the movie controller.

Constructors

 o MultiMovieController
 public MultiMovieController(Movie itsMovie) throws QTException
This constructor locates a movie controller component for you and assigns a movie to that controller. This constructor always creates a controller that is visible and attached to a movie.

QuickTime::NewMovieController()

Parameters:
itsMovie - Identifies the movie to be associated with the movie controller.
 o MultiMovieController
 public MultiMovieController(Movie itsMovie,
                             int someFlags) throws QTException
This constructor locates a movie controller component for you and assigns a movie to that controller. This constructor always creates a controller that is attached to a movie.

QuickTime::NewMovieController()

Parameters:
itsMovie - Identifies the movie to be associated with the movie controller.
someFlags - Contains flags that control the operation.
 o MultiMovieController
 public MultiMovieController(int subType,
                             Movie theMovie,
                             QDGraphics window,
                             QDPoint location) throws QTException
This constructor creates a MovieController object for a given subType. It attaches the controller to the specifed movie in the specifed window.

QuickTime::MCNewAttachedController()

Parameters:
subType - Specifies the controller component sub type.
theMovie - Specifies the movie to be associated with the movie controller.
window - Identifies the window in which the movie is to be displayed. This may NOT be null.
location - Specifies the upper-left corner of the movie within the window specified by the w parameter.

Methods

 o movieChanged
 public final void movieChanged(Movie changedMovie) throws StdQTException
This method lets you inform a movie controller component that your application has used the Movie Toolbox to change the characteristics of its associated movie.

QuickTime::MCMovieChanged()

Parameters:
changedMovie - Specifies the changed movie.
 o setMovie
 public final void setMovie(Movie aMovie,
                            QDGraphics movieWindow,
                            QDPoint location) throws StdQTException
This method adds a movie to the movie controller. This method is the same as the addMovie method. But we need to keep setMovie because it is inherited from MovieController.

QuickTime::MCSetMovie()

Parameters:
aMovie - Identifies the movie to be associated with the movie controller.
movieWindow - Identifies the window in which the movie is to be displayed. This may NOT be null unless the movie is also null.
location - Specifies the upper-left corner of the movie within the window specified by the movieWindow parameter.
Overrides:
setMovie in class MovieController
 o addMovie
 public final void addMovie(Movie aMovie,
                            QDGraphics movieWindow,
                            QDPoint location) throws StdQTException
This method adds a movie to the movie controller. This method is the same as the setMovie method. But we need to keep setMovie because it is inherited from MovieController.

QuickTime::MCSetMovie()

Parameters:
aMovie - Identifies the movie to be associated with the movie controller.
movieWindow - Identifies the window in which the movie is to be displayed. This may NOT be null unless the movie is also null.
location - Specifies the upper-left corner of the movie within the window specified by the movieWindow parameter.
 o getIndMovie
 public final Movie getIndMovie(int index) throws QTException
This method allows you to get the movie at a specified index among the associated movies of a controller.

QuickTime::MCGetIndMovie()

Parameters:
index - Specifies the index of the movie.
Returns:
a Movie object.
 o removeAllMovies
 public final void removeAllMovies() throws StdQTException
This method allows you to remove all of the associated movies of a controller.

QuickTime::MCRemoveAllMovies()

 o removeAMovie
 public final void removeAMovie(Movie movie) throws StdQTException
This method allows you to remove the specified movie from the controller.

QuickTime::MCRemoveAMovie()

Parameters:
movie - Specifies the movie to be removed.
 o removeMovie
 public final void removeMovie() throws StdQTException
This method allows you to remove the movie of the controller.

QuickTime::MCRemoveMovie()

Overrides:
removeMovie in class MovieController

All Packages  Class Hierarchy  This Package  Previous  Next  Index